/*
 * Copyright (c) 2016 zhangcm. All Rights Reserved.
 */
package com.deram.ctin.dependencies.serv.mybatis;

import org.apache.ibatis.executor.keygen.KeyGenerator;
import org.apache.ibatis.executor.keygen.NoKeyGenerator;

/**
 * @author zhangcm
 * @version 1.0, 2017/9/28
 */
public class MybatisKey {

    private KeyGenerator generator = new NoKeyGenerator();
    private String property;
    private String column;

    public KeyGenerator getGenerator() {
        return generator;
    }

    public void setGenerator(KeyGenerator generator) {
        this.generator = generator;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }
}
